/***************************************************************************************************
 *
 * Project: ChinesePod
 *
 * Class: Definition
 *
 * File name: Definition.java
 *
 * Jul 23, 2007
 *
 **************************************************************************************************/

package com.eastmountain.chinese.db.flashcards.records;

import com.eastmountain.util.DisplayFormats;

public class ChineseWordLessonXRF extends ChineseElementXRF {
	
    protected short    orderInLesson  = 0;

    public ChineseWordLessonXRF() {

        super();

    }

    public ChineseWordLessonXRF( String chineseWord, String simplifiedTraditional,
                               int lessonNumber,
                               int orderInLesson ) {

        super( chineseWord, simplifiedTraditional,
        	   lessonNumber );
        
        this.orderInLesson = (short)orderInLesson;
 
    }

    public short getOrderInLesson() {

        return orderInLesson;
    }

    public void setOrderInLesson( short orderInLesson ) {

        this.orderInLesson = orderInLesson;
    }

    @Override
    public String toString() {

        String elementXRF

        = "\nChineseElement -"
            + "\nOrder In Lesson:  " + getOrderInLesson();

        return( elementXRF );

    }


}

